package com.kkwrite.regimen.common.entity.dto.shop;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.kkwrite.regimen.common.entity.dto.item.ItemDetailDTO;
import com.kkwrite.regimen.common.entity.dto.module.ModuleItemDTO;

/**
 * 用户收益 DTO
 *
 * @author jinying
 * 
 */
public class PageableItemDTO implements Serializable {
	private static final long serialVersionUID = 4925395278054516084L;
	private Integer totalPages;
	private Long totalElements;
	private List<ItemDetailDTO> recordList;
	
	public ItemDetailDTO creatItemDetailDTO(){
		return new ItemDetailDTO();
	}

	public Integer getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(Integer totalPages) {
		this.totalPages = totalPages;
	}

	public Long getTotalElements() {
		return totalElements;
	}

	public void setTotalElements(Long totalElements) {
		this.totalElements = totalElements;
	}

	public List<ItemDetailDTO> getRecordList() {
		return recordList;
	}

	public void setRecordList(List<ItemDetailDTO> recordList) {
		this.recordList = recordList;
	}

	@Override
	public String toString() {
		return "PageableItemDTO [totalPages=" + totalPages + ", totalElements="
				+ totalElements + ", recordList=" + recordList + "]";
	}

}
